package com.ddwl.schema.vo.funds;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * 微信退款流水表(OrderWxPayRefunds)返回对象
 *
 * @author zach
 * @since 2020-09-24 11:41:59
 */
@Getter
@Setter
@ApiModel(value = "微信退款流水表")
public class OrderWxPayRefundsVo {

    @ApiModelProperty(value = "产品")     
    private String product;

    @ApiModelProperty(value = "微信应用id")     
    private String appId;

    @ApiModelProperty(value = "商户号")     
    private String mchId;

    @ApiModelProperty(value = "微信订单号")     
    private String transactionId;

    @ApiModelProperty(value = "订单号")     
    private String outTradeNo;

    @ApiModelProperty(value = "退款单号")     
    private String outRefundNo;

    @ApiModelProperty(value = "订单金额")     
    private Long totalFee;

    @ApiModelProperty(value = "退款金额")     
    private Long refundFee;

    @ApiModelProperty(value = "微信退款单号")     
    private String refundId;

    @ApiModelProperty(value = "通知回调地址")     
    private String notifyUrl;

    @ApiModelProperty(value = "返回状态码")     
    private String returnCode;

    @ApiModelProperty(value = "返回信息")     
    private String returnMsg;

    @ApiModelProperty(value = "错误代码")     
    private String errCode;

    @ApiModelProperty(value = "错误代码描述")     
    private String errCodeDes;

    @ApiModelProperty(value = "SUCCESS-退款成功 CHANGE-退款异常 REFUNDCLOSE—退款关闭")
    private String refundStatus;

    @ApiModelProperty(value = "资金退款至用户帐号的时间")     
    private Instant successTime;

    @ApiModelProperty(value = "退款入账账户")     
    private String refundRecvAccout;

    @ApiModelProperty(value = "退款资金来源")     
    private String refundAccount;

    @ApiModelProperty(value = "退款发起来源")     
    private String refundRequestSource;
}